package cosc617_blackteam;

/**
 * @author Laura
 * a state representing a customer party that has finished eating and is
 * ready to leave.
 */
public class StateWaitingToPay implements I_CustomerState {
private CustomerParty customer;
public StateWaitingToPay(CustomerParty customerParty){
	this.customer = customerParty;
}
	@Override
	public void assignToTable() {
		// does nothing in this state
	}

	@Override
	public void deliverFood() {
		// does nothing in this state

	}

	@Override
	public void decrimentTimeToEat() {
		// does nothing in this state

	}

	@Override
	public boolean unseatCustomer() {
		customer.setState(customer.getStateUnseated());
		return true;

	}
	@Override
	public boolean needsSeating() {
		// TODO Auto-generated method stub
		return false;
	}

}
